package cn.yuanqiao.archive.detection.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class Detection {

    private Long id;
    private String dName;
    private String dType;
    private Long superId;
    private String isDetection;

    private String isPass;
    private String detectionResult;

    private Long dId;

    private String failNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date detectionTime;


    private List<DetectionItem> detectionItemList;
    private List<Detection> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getdType() {
        return dType;
    }

    public void setdType(String dType) {
        this.dType = dType;
    }

    public Long getSuperId() {
        return superId;
    }

    public void setSuperId(Long superId) {
        this.superId = superId;
    }

    public List<Detection> getChildren() {
        return children;
    }

    public void setChildren(List<Detection> children) {
        this.children = children;
    }

    public Date getDetectionTime() {
        return detectionTime;
    }

    public void setDetectionTime(Date detectionTime) {
        this.detectionTime = detectionTime;
    }

    public String getIsDetection() {
        return isDetection;
    }

    public void setIsDetection(String isDetection) {
        this.isDetection = isDetection;
    }

    public String getIsPass() {
        return isPass;
    }

    public void setIsPass(String isPass) {
        this.isPass = isPass;
    }

    public String getDetectionResult() {
        return detectionResult;
    }

    public void setDetectionResult(String detectionResult) {
        this.detectionResult = detectionResult;
    }

    public Long getdId() {
        return dId;
    }

    public void setdId(Long dId) {
        this.dId = dId;
    }

    public List<DetectionItem> getDetectionItemList() {
        return detectionItemList;
    }

    public String getFailNum() {
        return failNum;
    }

    public void setFailNum(String failNum) {
        this.failNum = failNum;
    }

    public void setDetectionItemList(List<DetectionItem> detectionItemList) {
        this.detectionItemList = detectionItemList;
    }


}
